﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace 战棋模拟器
{
    class 瘟疫鼠群:Minion
    {
        public 瘟疫鼠群():base()
        {
            Star = 2;
            Attack = 2;
            Health = 2;
            Race = race.beast;
        }


        public override void Deathrattle()
        {
            for (int i = Attack; i > 0; i--)
                pool.Spawn(pool, Place, new 狂鼠());
            base.Deathrattle();
        }


        public override Minion NewOne()
        {
            return new 瘟疫鼠群();
        }
    }


    class 瘟疫鼠群_金色 : 瘟疫鼠群
    {
        public 瘟疫鼠群_金色() : base()
        {
            Attack *= 2;
            Health *= 2;
            count *= 2;
            buff *= 2;
        }

        public override Minion NewOne()
        {
            return new 瘟疫鼠群_金色();
        }


        public override void Deathrattle()
        {
            for (int i = Attack; i > 0; i--)
                pool.Spawn(pool, Place, new 狂鼠_金色());
            base.Deathrattle();
        }
    }
}
